﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QuestionMaintain.aspx.cs" Inherits="OA.Exam.QustionMaintain" ValidateRequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>题目维护</title>

    <script src="../kindeditor/kindeditor.js" type="text/javascript" language="javascript" charset="utf-8"></script>
    <script type="text/javascript" language="javascript">
        KE.show(
        { id: 'contentSubject' });
    </script>

    <link href="../Themes/Default/Style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            height: 18px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="98%">
            <tr>
                <td colspan="2" class="TitleZone">
                    <asp:Label ID="LblTitle" runat="server" Text="新增题目"></asp:Label>
                    <input id="HiddenMark" type="hidden" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" class="style1">
                    <asp:Label ID="LabPrompt" runat="server" Text="" ForeColor="Red"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="width:10%">
                    选择题型
                </td>
                <td>
                    &nbsp;<asp:DropDownList ID="DdlType" runat="server" CssClass=""
                        AppendDataBoundItems="true" DataTextField="TypeName" DataValueField="TypeId" >
                        <asp:ListItem Value="-1">-请选择-</asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RfvType" runat="server" ErrorMessage="题型必须选择" ControlToValidate="DdlType" InitialValue="-1"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width:10%">
                    题目内容
                </td>
                <td>
                    &nbsp;
                    <textarea id="contentSubject" runat="server" name="aa" style="width:700px;height:300px;"></textarea> 
                </td>
            </tr>

            <tr>
                <td colspan="2">
                    <asp:Button ID="BtnSave" runat="server" Text="保存并设置选项" onclick="BtnSave_Click" CssClass="inputButton" />
                    <asp:Button ID="BtnBack" runat="server" Text="返回" CausesValidation="false" 
                        onclick="BtnBack_Click" CssClass="inputButton" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
